how to build simple c application